Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDispatcher


SetIdleFrequency

Mac OS

The SetIdleFrequency method sets the idle frequency for the specified part or frame.

void SetIdleFrequency (in ODPart part, 
                       in ODFrame frame, 
                       in ODIdleFrequency frequency);
part
A reference to a part that is to receive null events.
frame
A reference to a frame that is to receive null events, or kODNULL if the part as a whole is to receive idle time.
frequency
The idle frequency, expressed in ticks (60ths of a second).
DISCUSSION
Your part calls this method to adjust the idle frequency after a frame is registered to receive idle time.

SEE ALSO
The ODIdleFrequency type (page 892).
The ODDispatcher::RegisterIdle method (page 121).
The ODDispatcher::UnregisterIdle method (page 125).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help